package object4.package5;

public class Fish extends Animal implements ISwimming{
    public Fish (String name){
        super(name);
    }

    @Override
    public void swim() {
        System.out.println(getName() + "使用尾巴游泳");
    }
}
